﻿// 活动参与列表返回值
export interface ISearchResult {
  ActivityName: string;
  Address: string;
  Description: string;
  ID: string;
  Name: string;
  ParticipantType: string;
  Phone: string;
  UserName: string;
}

// 活动图片
export interface IImagesIds {
  ActivityParticipationId?: string;
  FileId: string;
  ID?: string;
  Order: number;
}


// 添加活动参与参数
export interface IAddParams {
  Entity: {
    ActivityId: string;
    Address: string;
    Description: string;
    Name: string;
    ParticipantType: string;
    Phone: string;
  }
  SelectedActivityImagesIds: IImagesIds[];
}

// 添加活动参与返回值
export interface IAddResult {
  ActivityId: string;
  ActivityImages: IImagesIds[];
  Address: string;
  CreateBy: string;
  CreateTime: string;
  Description: string;
  ID: string;
  Name: string;
  ParticipantType: string;
  Phone: string;
  UpdateBy: string;
  UpdateTime: string;
  UserId: string;
}

// 活动参与详情返回值
export interface IGetResult {

  DeletedFileIds: string[];
  Entity: {
    Activity: {
      ActivityName: string;
      ActivityStatus: string;
      CreateBy: string;
      CreateTime: string;
      EndTime: string;
      ID: string;
      MaxJoinCount: number;
      StartTime: string;
      UpdateBy: string;
      UpdateTime: string;
    }
    ActivityId: string;
    Address: string;
    CreateBy: string;
    CreateTime: string;
    Description: string;
    ID: string;
    Name: string;
    ParticipantType: string;
    Phone: string;
    UpdateBy: string;
    UpdateTime: string;
    User: {
      ID: string;
      ITCode: string;
      IsAccessInternet: boolean;
      IsValid: boolean;
      Name: string;
      Password: string;
    }
    UserId: string;
  }
  SelectedActivityImagesIds: IImagesIds[];
}